
import Vue from 'vue';
import App from './App';
import router from './router';

import mintHead from './components/mintHead';
import  mintFoot from './components/mintFoot';
import navBar from './components/navBar';

require('./../server/mock');

//mint-ui
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css'
Vue.use(Mint);

//axios
import Axios from 'axios';
Vue.prototype.$axios = Axios;
Axios.defaults.baseURL="/api/";

//mui
import './../static/mui/css/mui.css';
import './css/global.css';

Vue.component('mintHead', mintHead);
Vue.component('mintFoot', mintFoot);
Vue.component('navBar', navBar);

new Vue({
  el: "#app",
  router,
  render: c => c(App)
})
